package yang.yu.sunny.domain;

import java.util.Date;

/**
 * 时间范围,包括from和to,即“大于或等于from,小于或等于to的时间段”
 * Created by yyang on 16/3/29.
 */
public class TimeRange {

    private Date from;

    private Date to;

    public TimeRange(Date from, Date to) {
        this.from = from;
        this.to = to;
    }

    public Date getFrom() {
        return from;
    }

    public Date getTo() {
        return to;
    }
}
